package com.xingmang.common.dto.admin;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

/**
 * @auther: hansom
 * @Version: 1.0
 * @create 2023/6/21 14:32
 */
@ApiModel("常量设置新增请求")
@Data
public class FieldSettingSaveDTO {
    @ApiModelProperty(value = "字段分类",required = true)
    @NotEmpty(message = "字段分类不能为空")
    private String fieldType;
    @ApiModelProperty(value = "字段名称",required = true)
    @NotEmpty(message = "字段名称不能为空")
    private String fieldName;
    @ApiModelProperty(value = "字段值",required = true)
    @NotEmpty(message = "字段值分类不能为空")
    private String fieldValue;
    @ApiModelProperty(value = "等级",required = true)
    @NotEmpty(message = "等级不能为空")
    private String fieldLevel;
}
